﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Security.Cryptography;
using System.Web.UI.WebControls;

namespace DHAA.Areas.Administrator.Models
{
    public class AdminModels
    {
#region Models
        [Required(ErrorMessage = "Admin ID cannot be empty")]
        [DisplayName("Admin ID")]
        public int AdminID { get; set; }


        [Required(ErrorMessage = "Username can not be empty")]
        [DisplayName("Username")]
        public string Username { get; set; }

        [Required(ErrorMessage = "Password cannot be empty")]
        [DisplayName("Password")]
        public string Password { get; set; }


        [Required(ErrorMessage = "New password cannot be empty")]
        [DisplayName("New Password")]
        public string NewPassword { get; set; } 

        [Required(ErrorMessage = "Confrim password cannot be empty")]
        [DisplayName("Confirm Password")]
        public string ConfirmPassword { get; set; } 



        [Required(ErrorMessage = "Admin's name cannot be empty")]
        [DisplayName("Admin's name")]
        public string AdminName { get; set; }

   #endregion




    }
}
